package com.hdq;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@Slf4j
@EnableScheduling  //开启任务调度
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        log.info("服务端启动！");
    }
}
